package com.design.softwaredesign.service;

import com.design.softwaredesign.front.GoodInfo;
import com.design.softwaredesign.vo.DataVo;


import java.util.List;

public interface GoodService {
    public DataVo getGoodsCategory();

    public DataVo getGoodsCategoryListData(Integer pageNum, Integer pageSize, String query, String userId);

    public DataVo addGood(GoodInfo goodInfo);

    public void addImage(String goodId, String url);

    public DataVo getGoodsList(Integer goodCategoryId, Integer pageNum, Integer pageSize, String query, String userId);

    public DataVo updateGoodInfo(GoodInfo goodInfo);

    public DataVo getGoodByGoodId(String goodId, String userId);

    public DataVo deleteGoodInfoById(String goodId);

    public DataVo changeGoodStateById(String goodId, String phone);
}
